-- GENERATED SPELL FOR [Porcine Entourage] --


function spell0_390(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_390', 3000, 1)
end

function Sorts_390(pUnit, Event)
local choix_sorts_390 = math.random(0, 0)
if choix_sorts_390 == 0 then
pUnit:RegisterEvent('spell0_390', 1, 1)
end
end

function mob390_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_390', math.random(1500, 3000), 1)
end

function mob390_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob390_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob390_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(390, 1, 'mob390_Action')
RegisterUnitEvent(390, 2, 'mob390_Leave')
RegisterUnitEvent(390, 3, 'mob390_Kill')
RegisterUnitEvent(390, 4, 'mob390_Die')
